#!/usr/bin/make -f


BUILD_ROOT=$(CURDIR)/debian/tmp
install:
	rm -rf ${BUILD_ROOT}
	mkdir -p ${BUILD_ROOT}/var/opencore/modules/SSH.module
	install -m 755 action ${BUILD_ROOT}/var/opencore/modules/SSH.module/action
	cp module.xml ${BUILD_ROOT}/var/opencore/modules/SSH.module/module.xml
	install -m 755 verify ${BUILD_ROOT}/var/opencore/modules/SSH.module/verify

build:
	echo no compilation needed
binary-indep:

binary-arch binary: build install
	if [ -d debian/tmp ] ; then dh_install -a --sourcedir=debian/tmp ; fi
	dh_installdocs -a
	dh_installdeb -a
	dh_compress -a
	dh_fixperms -a
	dh_shlibdeps -a
	dh_gencontrol -a
	dh_md5sums -a
	dh_builddeb -a

.PHONY: build binary binary-arch binary-indep clean install
